<template>
  <div class="home">
    <!-- <img alt="Vue logo" src="../assets/logo.png">
    <HelloWorld msg="Welcome to Your Vue.js App"/> -->
    <!-- <son :handleFn="fn"></son> -->
     <son></son>
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue'
import son from '@/components/Son.vue'

export default {
  name: 'HomeView',
  components: {
    son
  },
  methods: {
    fn(){
        console.log('我是父组件的方法');
    }
  },
}
</script>
